package com.product.system.service.impl;

import com.github.pagehelper.PageHelper;

import com.product.system.domain.SysDictType;
import com.product.system.mapper.DictTypeMapper;
import com.product.system.service.DictTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictTypeServiceImpl implements DictTypeService {

    @Autowired
    DictTypeMapper dictTypeMapper;



    @Override
    public List<SysDictType> dictTypeList(SysDictType sysDictType, Integer pageNum, Integer pageSize) {
        return null;
    }

    @Override
    public boolean dictTypeAdd(SysDictType sysDictType) {
        return dictTypeMapper.dictTypeAdd(sysDictType);
    }

    @Override
    public boolean dictTypeDel(Integer[] dictTypeIdList) {
        return dictTypeMapper.dictTypeDel(dictTypeIdList);
    }

    @Override
    public SysDictType getById(Integer id) {
        return dictTypeMapper.getById(id);
    }

    @Override
    public boolean dictTypeUpdate(SysDictType sysDictType) {
        return dictTypeMapper.dictTypeUpdate(sysDictType);
    }

    @Override
    public List<SysDictType> dictTypeList(String dictType) {
        return dictTypeMapper.dictTypeList(dictType);
    }

    @Override
    public List<SysDictType> getTypeInfo() {
        return dictTypeMapper.getTypeInfo();
    }

    @Override
    public List<SysDictType> List() {
        return dictTypeMapper.list();
    }
}
